#ifndef __MSG_HANDLER__
#define __MSG_HANDLER__

typedef struct train_s {
    int length;
    char data[4096];
} train_t;

int recv_msg(const int netfd, train_t *pTrain);
int send_msg(const int netfd, train_t *pTrain);

#endif
